package com.hhx.androidrxmvp.dagger.module;

import android.content.Context;

import com.hhx.androidrxmvp.app.BaseApplication;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2019/3/18.
 */
@Module
public class ApplicationModule {

    private Context mContext;

    public ApplicationModule(BaseApplication context) {
        this.mContext = context;
    }

    @Provides
    @Singleton
    public Context provideApplicationContext() {
        return mContext;
    }


}
